package com.lvmama.rhino.message;

/**
 * Created by wuyunpeng on 2016/4/26.
 */
public class RhinoMessageFactory {

    public RhinoMessage newStrMessage(String message){
        return new RhinoMessage(message);
    }

    public RhinoMessage newObjMessage(Object obj){
        return new RhinoMessage(obj);
    }

    public RhinoMessage newAllMessage(String message,Object obj){
        return new RhinoMessage(message, obj);
    }
}
